<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"  xmlns:layout="http://ww
 w.ultraq.net.nz/web/thymeleaf/layout" layout:decorate="layout2">
<head>
    <meta charset="UTF-8">
    <title>用户列表</title>
</head>
<body>

<div layout:fragment="main">
    <table>
        <tr>
            <th>编号</th>
            <th>用户名</th>
            <th>角色</th>
        </tr>
        <tr th:each="user : ${users}">
            <th th:text="${user.usrId}">编号</th>
            <th th:text="${user.usrName}">用户名</th>
            <th th:text="${user.usrRoleId}">角色</th>
        </tr>
    </table>


</div>
</body>
</html>